package com.lin.manager.notice.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lin.manager.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @作者: 林江
 * @创建时间: 2024-04-10 19:11:15
 * @功能:
 */
@Data
@TableName("notice")
@ApiModel(value = "通知公告实体类")
public class NoticeEntity extends BaseEntity {
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "1-普通发送，2-定时发送")
    private Integer sendStatus;
    @ApiModelProperty(value = "计划发送时间（定时发送触发条件）")
    private String planTime;
    @ApiModelProperty(value = "发送时间")
    private Date sendTime;
    @ApiModelProperty(value = "0-草稿，1-已发送，2-已撤回，3-发送中，4-发送失败")
    private Integer status;
    @ApiModelProperty(value = "1-系统通知，2-短信通知，3-邮件通知")
    private Integer type;
    @ApiModelProperty(value = "创建人")
    private String createUserName;
}
